package com.atwy.account.service;

import io.seata.rm.tcc.api.BusinessActionContext;

public interface AccountService {

    boolean prepare(String userId, double money);

    boolean release(BusinessActionContext businessActionContext);

    boolean rollbackMoney(BusinessActionContext businessActionContext);
}
